import React, { useMemo } from 'react';
import { Row, Col } from 'antd';
import styles from './index.less';
import H_Table from './components/H_Table';
import Toolbar from './components/Toolbar';
import EmptyCenter from '@/components/EmptyCenter';

const Page = props => {
  return (
    <>
      {!localStorage.getItem('deviceType') && (
        <EmptyCenter description={'请先选择平台'} jump={true} />
      )}
      {localStorage.getItem('deviceType') && (
        <div className={styles['dictionary-wrap']}>
          <Toolbar />
          <H_Table />
        </div>
      )}
    </>
  );
};

export default Page;
